/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.miami.unix_storage.xmlinventory.classes;
import java.util.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
/**
 *
 * @author alex
 */
public class CurrentTime {
    DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
    Date date = new Date();
    String getCurrentDateAndTimeAsString(){
        return dateFormat.format(date);
    }
}
